package com.example.donghuihui.androidframe.utils;

import android.os.Environment;

import java.io.File;

/**
 * 常量工具
 */
public class Constant {
    public static String BASE_PATH = "项目名字";
    public static char REFRESH = 0x001;//刷新
    public static char LOAD = 0x002;//加载更多
    /**
     * 是否是首次打开APP
     */
    public final static String IS_FIRST = "is_first";

    public static String TAG_URL = "api_url";
    /**
     * 缓存目录
     */
    public static String CACHE_PATH = BASE_PATH + File.separator + "cache";
    /**
     * 默认存放图片的路径
     */
    public final static String DEFAULT_SAVE_IMAGE_PATH = Environment
            .getExternalStorageDirectory()
            + File.separator
            + Constant.CACHE_PATH
            + File.separator + "img" + File.separator;
}
